﻿using System;
using System.Runtime.InteropServices;

namespace Bookvar.UpdateMonitor
{
    internal static class NativeMethods
    {
//        [DllImport( "kernel32.dll", SetLastError = true )]
//        internal static extern uint WaitForSingleObject( IntPtr hHandle, uint dwMilliseconds );

        [DllImport( "kernel32.dll", SetLastError = true )]
        [return : MarshalAs( UnmanagedType.Bool )]
        internal static extern bool GetExitCodeProcess( IntPtr hProcess, out uint lpExitCode );
    }
}